<%@ page contentType="text/html; charset=UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<%@ taglib uri="http://displaytag.sf.net" prefix="display"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn"%>
<html>
<head>
<title>khutro.net</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<link rel="stylesheet" type="text/css" href="css/style.css" />
<link href="css/userpage.css" rel="stylesheet" type="text/css">
<link href="css/loginstyle.css" rel="stylesheet" type="text/css">
<link href="css/info.css" rel="stylesheet" type="text/css">
<script src="js/jquery-1.js" type="text/javascript"></script>
<script type="text/javascript" src="js/jquery181.js"></script>
<SCRIPT type="text/javascript" src="js/items.js"></SCRIPT>
    <script type="text/javascript" src="js/jquery_002.js"></script>
<style type="text/css">

#contentmain .container2 .logincontent .logincontentmain h3 {
	color: #040406;
}
-->
</style>
<style type="text/css">
.ac_over {
	color: white; background-color:green;
}
</style>
<link rel="stylesheet" href="css/stylesconfirm.css">
<link rel="stylesheet" href="css/button.css">
</head>
<body bgcolor="#FFFFFF" leftmargin="0" topmargin="0" marginwidth="0"
	marginheight="0">
	<div id="header">
		<div id="headerContent">
			<a href="index.action" id="logo">khutro</a>
			<ul id="menuBar">
				<li><a href="index.action">Trang chủ</a></li>
				<li><a href="help.jsp">Trợ giúp</a></li>
				<li><a href="checkaddtopic.action">Đăng cho thuê</a>
				<li><a href="checkaddsharetopic.action">Đăng chia sẻ</a>
				<li><a href="compareresult.action">So sánh<span
						id="numberCompare" style="color: red; font-size: 12px">(${number})</span>
				</a></li>
				
			</ul>
			<div id="modal5">
				<div id="heading5">Thông báo !</div>
				<div id="content5">
					<p style="text-align: left; padding-left: 10px; color: black;">Bạn
						cần đăng nhập để sử dụng chức năng này</p>
					<p style="text-align: left; padding-left: 10px; color: black;">Đăng
						nhập với tài khoản của Facebook</p>
						<br/>
					<a style="text-align: left;" href="login.jsp"
						class="button1 green close"><img src="images/dialog/tick.png">Đăng
						nhập</a> <a style="text-align: left;" href="javascript:void(0);"
						class="button1 red close"><img src="images/dialog/cross.png">Đóng</a>
				</div>
			</div>
			<div id="loginPanel">
				<c:choose>
					<c:when test="${displayNamess!=null}">
						<a class="profileButton" href="profileuser.action">${displayNamess}
						</a>
						<ul>
							<c:choose>
								<c:when test="${userRoleIdss==1}">
									<li><a href="adminloadsystem.action">Trang quản lý</a>
								</c:when>
							</c:choose>
							<li><a href="profileuser.action">Trang cá nhân</a></li><li><a href="changepass.jsp">Đổi mật khẩu</a>
							</li>
							<li><a href="logout.jsp">Thoát</a>
							</li>
						</ul>
					</c:when>
					<c:otherwise>
						<a class="loginButton" href="login.jsp">Đăng nhập</a>
					</c:otherwise>
				</c:choose>
			</div>
			<div id="search">
			<DIV class="search-box">
			  <div style="width: 80%;float: left">
		      <INPUT id="lookup_input" class="search-bar" style="width: 220px;height: 24px;" name="keysearch" value="Tìm Kiếm ..." type="text">
		      </div>
		      <div style="width: 19%;float: right;">
		      <img alt="search" src="images/search.png" width="24" height="24" onclick="searchFull();">
		      </div>
				<SCRIPT type="text/javascript" src="js/searchfulltext.js"></SCRIPT>
		      
		      <FORM id="search-form" method="post" action="fulltextsearch.action">
		      	<INPUT id="sortby" class="search-bar" name="sortby" value="0" type="hidden">
		      </FORM>
      		</DIV>
			</div>  
		</div>
	</div>
	<script type="text/javascript">
	$('#lookup_input').bind('keypress', function(e) {
		if(e.keyCode==13){
			searchFull();
		}
	});
	</script>
	<img src="images/spacer.gif" width="1" height="56" alt="">


	<div id="contentmain">
		<div class="box inputForm infoBox">
		<div id="loginerror" style="color: red">${errorString}</div>
    <h3>
        Đăng nhập</h3>
<form action="userlogin.action" class="submitForm" method="post" id="userlogin">        <p class="required">
            <label for="Email">Email</label>
            <input class="text mediumWidth" data-val="true" data-val-email="Địa chỉ Email không đúng." data-val-required="Email là bắt buộc." id="email" name="email" type="text">
            <span class="field-validation-valid" data-valmsg-for="email" data-valmsg-replace="true"></span>
        </p>
        <p class="required">
            <label for="Password">Password</label>
            <input class="text mediumWidth" data-val="true" data-val-required="password là bắt buộc." id="password" name="password" type="password">
            <span class="field-validation-valid" data-valmsg-for="password" data-valmsg-replace="true"></span>
        </p>
        <p class="buttonSet">
            <button type="submit" class="buttons submitButton">Đăng nhập</button> <a style="padding-top: 10px" href="register.jsp">Đăng ký</a>
        </p>
        <h4>Hoặc <a href="login.jsp">đăng nhập bằng tài khoản Facebook</a></h4>
</form></div>
		


	</div>
	<div id="footercus" style="text-align: center;font-size: 12px">
		Designed by FU team | Powered by Struts<br> khutro.net
	</div>


	<!-- End Save for Web Slices -->
</body>
</html>